package com.youlai.system.common.enums;

import com.youlai.system.common.base.IBaseEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

@Schema(enumAsRef = true)
public enum QuotaEnum implements IBaseEnum<Integer> {
    NIL(-1, "无"),
    NO (0, "不影响指标类"),
    YES(1, "影响指标类");

    @Getter
    private Integer value;

    @Getter
    private String label;

    QuotaEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
